package com.liu.community.utils;/*
 *@Author:Liu Xing-zhi
 *Description:
 *Date:Crated in 13:44 2021/9/30
 */

public class URLUtils {
    //静态重定向方法
    public  static  String sendRedirectTo(String url){
        return  "redirect:"+url;
    }

    public static void main(String[] args) {
        String redirect = sendRedirectTo("http://www.baidu.com");
        System.out.println(redirect);
    }
}
